import Vue from 'vue'
import App from './App.vue'
import "./assets/fonts/iconfont.css"
import "bootstrap/dist/css/bootstrap.css"

Vue.config.productionTip = false

// 注册全局$axios方法
import axios from "axios";
axios.defaults.baseURL = "https://www.escook.cn";
Vue.prototype.$axios = axios

Vue.directive("focus", {
    inserted(el) {
        el.focus()
    }
})

new Vue({
    render: h => h(App),
}).$mount('#app')